﻿using AutoMapper;
using Demo.Microservice.Services.Dtos;
using Demo.Microservice.Entities;

namespace Demo.Microservice.ObjectMapping;

public class MicroserviceAutoMapperProfile : Profile
{
    public MicroserviceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */

        CreateMap<UserInfoDto, UserInfo>();
        CreateMap<UserInfo, UserInfoDto>();

    }
}
